//
//  UIColor+Change.h
//  FurnitureShopping
//
//  Created by 聂志康 on 2017/5/25.
//  Copyright © 2017年 yitu. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIColor (Change)
// 颜色转换：iOS中（以#开头）十六进制的颜色转换为UIColor(RGB)
+ (UIColor *)colorWithHexString: (NSString *)color;

/**
 *  十六进制颜色
 */
+ (UIColor *)colorWithHexColorString:(NSString *)hexColorString;

/**
 *  十六进制颜色:含alpha
 */
+ (UIColor *)colorWithHexColorString:(NSString *)hexColorString alpha:(float)alpha;

+ (NSMutableArray *)changeUIColorToRGB:(UIColor *)color;

+ (NSString *)hexStringFromColor:(UIColor *)color;
@end
